package com.sinosoft.ptas.control.dto;

import java.util.List;

import com.sinosoft.ptas.entity.DefaultTargetEntity;
import com.sinosoft.ptas.system.util.PtasObjectUtil;


public class DefaultTargetData {
	private String id;//id
	private String targetName;//目标名称
	private String targetValue;//目标值
	private String targetType;//目标类型   (0-实施 1-年度)
	private String pid;//年度目标所属的实施目标编号 (实施为年度的父节点 实施目标没有父节点)
	private String referenceValueOfTarget;//目标参考值
	private String targetAttribute;//目标属性编号
	private String targetAttributeValue;//目标属性编号对应的值
	private List<String> defaultTlist;//年度目标名字
	private String saveState;//保存状态
	private String creater;//创建者
	private String createTime;//创建时间
	private String updater;//更新者
	private String  updateTime;//更新时间
	
	
	
	public List<String> getDefaultTlist() {
		return defaultTlist;
	}
	public void setDefaultTlist(List<String> defaultTlist) {
		this.defaultTlist = defaultTlist;
	}
	public String getTargetAttributeValue() {
		return targetAttributeValue;
	}
	public void setTargetAttributeValue(String targetAttributeValue) {
		this.targetAttributeValue = targetAttributeValue;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getTargetName() {
		return targetName;
	}
	public void setTargetName(String targetName) {
		this.targetName = targetName;
	}
	public String getTargetValue() {
		return targetValue;
	}
	public void setTargetValue(String targetValue) {
		this.targetValue = targetValue;
	}
	public String getTargetType() {
		return targetType;
	}
	public void setTargetType(String targetType) {
		this.targetType = targetType;
	}
	public String getPid() {
		return pid;
	}
	public void setPid(String pid) {
		this.pid = pid;
	}
	public String getReferenceValueOfTarget() {
		return referenceValueOfTarget;
	}
	public void setReferenceValueOfTarget(String referenceValueOfTarget) {
		this.referenceValueOfTarget = referenceValueOfTarget;
	}
	public String getTargetAttribute() {
		return targetAttribute;
	}
	public void setTargetAttribute(String targetAttribute) {
		this.targetAttribute = targetAttribute;
	}
	public String getSaveState() {
		return saveState;
	}
	public void setSaveState(String saveState) {
		this.saveState = saveState;
	}
	public String getCreater() {
		return creater;
	}
	public void setCreater(String creater) {
		this.creater = creater;
	}
	
	
	public String getUpdater() {
		return updater;
	}
	public void setUpdater(String updater) {
		this.updater = updater;
	}
	

	
	
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}
	/**
	 * 传输类转化成实体类
	 */
	public DefaultTargetEntity toEntity(){
		DefaultTargetEntity defaultTargetEntity = new DefaultTargetEntity();
		PtasObjectUtil.oldToNew(defaultTargetEntity, this, "serialVersionUID");
		return defaultTargetEntity;
	}
	
	/**
	 * 实体类转化成传输类
	 */
	public void toDefaultTargetData(DefaultTargetEntity defaultTargetEntity){
		PtasObjectUtil.oldToNew(this, defaultTargetEntity, "serialVersionUID");
	}
}
